package com.joinlabs.mapper;

import com.joinlabs.entity.Orderitem;
import com.joinlabs.entity.Wares;

import java.math.BigDecimal;
import java.util.List;

public interface OrderitemMapper {
    int deleteByPrimaryKey(BigDecimal orderItemid);

    int insert(Orderitem record);

    int insertSelective(Orderitem record);

    Orderitem selectByPrimaryKey(BigDecimal orderItemid);

    int updateByPrimaryKeySelective(Orderitem record);

    int updateByPrimaryKey(Orderitem record);
    
    
    //查询对应订单下的所有订单子项
    List<Orderitem> selectItemById(String orderId);
    
    List<Orderitem> selectwaresidord(BigDecimal waresId);
    
    List<Orderitem> selectOrderiteminfoAll();
}